<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href='<?php echo asset_url()."customcss/custombody.css"; ?>'>

<title>AITAA&reg - Job Description</title>

<style type="text/css">


</style>
</head>
<body>

<div id="container">
<h3><span class="label label-primary">Job Description </span></h3>
<br><br><br>
<?php 
	foreach ($query as $row)
	{
?>
<table class="table table-hover">
<tr><th>Title</th><td><?php echo $row->title; ?></td></tr>
<tr><th>No. of Vacancies</th><td><?php echo $row->vacancy; ?></td></tr>
<tr><th>Posted Date</th><td><?php echo $row->odate; ?></td></tr>
<tr><th>Last Date</th><td><?php echo $row->cdate; ?></td></tr>
<tr><th>Eligibility</th><td><?php echo $row->elig; ?></td></tr>
<tr><th>Expected Profile</th><td><?php echo $row->profile; ?></td></tr>
<tr><th>Description</th><td><?php echo $row->desc; ?></td></tr>
<tr><th>Posted By</th><td><?php echo $row->name; ?></td></tr>
<tr><th>Contact</th><td><?php echo $row->contact; ?></td></tr>
<tr><th>Approved by Admin</th>
	<?php if(!($row->admin))
			{
				echo "<td>No</td>";
			}
			else 
			{
				echo "<td>Yes</td>";
			}?>
			</tr>
</table>
<a href='<?php echo base_url()."index.php/admin/career/showjob"; ?>'><button type="button" class="btn btn-info">Go Back</button></a>
<a href='<?php echo base_url()."index.php/admin/career/editjob/".$row->jobId; ?>'><button type="button" class="btn btn-warning">Edit</button><br><br></a>
<?php 
	}
?>

</div>
	<script src='<?php echo asset_url()."/js/bootstrap.min.js"?>'></script>
	<script src='<?php echo asset_url()."/js/jquery-1.10.2.min.js"?>'></script>
	</body>
</html>